home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World 2008 March
/
PCWorld_2008-03_cd.bin
/
zabezpeceni
/
spyemergency
/
se-setup365.exe
/
{app}
/
SpyEmergencyDel.vbs
< prev
next >
Wrap
Text File
|
2007-10-29
|
446b
|
17 lines
Set objSecurityCenter = GetObject("winmgmts:\\.\root\SecurityCenter")
Set colAntiSpyware = objSecurityCenter.ExecQuery("Select * From AntiSpywareProduct",,48)
For Each objAntiSpyware In colAntiSpyware
Dim prodName, compValue
prodName = "Spy Emergency"
compValue = StrComp(objAntiSpyware.displayName, prodName)
if compValue = 0 then
objAntiSpyware.productEnabled=FALSE
objAntiSpyware.Delete_
end if
Next